package com.warm.demo.mf.domain;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import com.warm.core.domain.TreeEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 测试树对象 test_tree
 *
 * @author warm
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table(value = "test_tree")
public class TestTree extends TreeEntity {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Id
    private Long id;

    /**
     * 值
     */
    private String treeName;

    /**
     * 版本
     */
    @Column(version = true)
    private Long version;

    /**
     * 删除标志
     */
    @Column(isLogicDelete = true)
    private Long delFlag;

}
